


/* I2C */
sfr     P_SW2   =   0xba;
#define I2CCFG      (*(unsigned char volatile xdata *)0xfe80)
#define I2CMSCR     (*(unsigned char volatile xdata *)0xfe81)
#define I2CMSST     (*(unsigned char volatile xdata *)0xfe82)
#define I2CSLCR     (*(unsigned char volatile xdata *)0xfe83)
#define I2CSLST     (*(unsigned char volatile xdata *)0xfe84)
#define I2CSLADR    (*(unsigned char volatile xdata *)0xfe85)
#define I2CTXD      (*(unsigned char volatile xdata *)0xfe86)
#define I2CRXD      (*(unsigned char volatile xdata *)0xfe87)
	
extern void AHT20_Read(void);
extern void aht20AvgGet(void);
extern int rh_t_Update(int RHAvg,int TAvg);

extern void Delay100ms();
extern void aht20Init(void);
extern void aht20AvgPrint(void);
extern void aht20Print(void);
